package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-收料通知单明细序列号对象 erp_king_receive_notice_material_detail_serial_info
 *
 * @author cxl
 * @date 2024-08-09
 */
@TableName ("erp_king_receive_notice_material_detail_serial_info")
@ApiModel (value = "金蝶-收料通知单明细序列号", description = "金蝶-收料通知单明细序列号")
@Data
public class KingReceiveNoticeMaterialDetailSerialEntity{

    /** 主键id */
    @TableId (type = IdType.INPUT)
    private String id;

    /** 收料通知单主表id */
    @ApiModelProperty ("收料通知单主表id")
    @TableField ("receive_notice_id")
    @Excel (name = "收料通知单主表id")
    private String receiveNoticeId;

    /** 收料通知单物料表id */
    @ApiModelProperty ("收料通知单物料表id")
    @TableField ("receive_notice_material_id")
    @Excel (name = "收料通知单物料表id")
    private String receiveNoticeMaterialId;

    /** 收料通知单物料明细表id */
    @ApiModelProperty ("收料通知单物料明细表id")
    @TableField ("material_detail_id")
    @Excel (name = "收料通知单物料明细表id")
    private String materialDetailId;

    /** 序列号 */
    @ApiModelProperty ("序列号")
    @TableField ("serial_code")
    @Excel (name = "序列号")
    private String serialCode;

    /** 批号(辅序) */
    @ApiModelProperty ("批号(辅序)")
    @TableField ("batch_num_auxiliary")
    @Excel (name = "批号(辅序)")
    private String batchNumAuxiliary;

    /** 供应商批号(辅序) */
    @ApiModelProperty ("供应商批号(辅序)")
    @TableField ("supplier_num_auxiliary")
    @Excel (name = "供应商批号(辅序)")
    private String supplierNumAuxiliary;

    /** 生产日期(辅序) */
    @ApiModelProperty ("生产日期(辅序)")
    @TableField ("manufacture_time_auxiliary")
    @Excel (name = "生产日期(辅序)")
    private String manufactureTimeAuxiliary;

    /** 有效期至(辅序) */
    @ApiModelProperty ("有效期至(辅序)")
    @TableField ("valid_to_auxiliary")
    @Excel (name = "有效期至(辅序)")
    private String validToAuxiliary;

    /** 数量(辅序) */
    @ApiModelProperty ("数量(辅序)")
    @TableField ("num_auxiliary")
    @Excel (name = "数量(辅序)")
    private String numAuxiliary;

    /** 检验结果 */
    @ApiModelProperty ("检验结果")
    @TableField ("check_result")
    @Excel (name = "检验结果")
    private String checkResult;

    /** 使用决策 */
    @ApiModelProperty ("使用决策")
    @TableField ("use_decision")
    @Excel (name = "使用决策")
    private String useDecision;

    /** 入库关联数量(辅序) */
    @ApiModelProperty ("入库关联数量(辅序)")
    @TableField ("inventory_relation_num_auxiliary")
    @Excel (name = "入库关联数量(辅序)")
    private String inventoryRelationNumAuxiliary;

    /** 退料关联数量(辅序) */
    @ApiModelProperty ("退料关联数量(辅序)")
    @TableField ("refund_relation_num_auxiliary")
    @Excel (name = "退料关联数量(辅序)")
    private String refundRelationNumAuxiliary;

    /** 录入人 */
    @ApiModelProperty ("录入人")
    @TableField ("user_id")
    @Excel (name = "录入人")
    private String userId;

    /** 更新时间 */
    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changeTime;

    /** 逻辑删除 */
    @TableLogic
    @ApiModelProperty ("逻辑删除")
    @TableField ("is_used")
    @Excel (name = "逻辑删除")
    private Integer isUsed;

    /** 创建时间 */
    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;


}
